package com.jlf.app.sample.controller;

import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.time.LocalDateTime;

/**
 * 文件注释
 *
 * @author wujr
 * 2023/7/5
 * @version 1.0
 * 【变更历史】
 * [wujr 2023/7/5 1.0 新增]
 */
@Tag(name = "样例接口")
@RestController
@RequestMapping("/rest/jlf/sample")
@Slf4j
@RequiredArgsConstructor
public class SampleController {
    @GetMapping(path = "/time")
    public LocalDateTime getTime(){
        return LocalDateTime.now();
    }
}
